package com.itheima.d1_polymorphism;

public class Test3 {

    public static void main(String[] args) {
        //不同的登录
        Login login = new CheckCodeLogin();
        test(login);
    }


    public static void test(Login login){
        login.login();
    }
}
